﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using EPiServer.Personalization.VisitorGroups;

namespace CriteriaPack.ABTestingCriterion
{
    public class ABTestingModel : CriterionModelBase
    {
        [Required, Range(0,100), DisplayName("Match percentage (%)")]
        public int MatchPercentage { get; set; }

        public override ICriterionModel Copy()
        {
            return base.ShallowCopy();
        }
    }
}